package cn.songtx.iot.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DeviceMppt {
    private Long id;                              // 主键
    private LocalDateTime datetime;
    private String mac;
    private Float batteryVoltage;                 // 电池电压
    private Float solarVoltage;                   // 光伏电压
    private Float chargeCurrent;                  // 充电电流
    private Float dischargeVoltage;               // 放电电压
    private Float dischargeCurrent;               // 放电电流
    private Float totalGeneration;                // 发电量
    private Float totalConsumption;               // 用电量
    private Integer temperature;                  // 温度
    private Integer status;                       // 故障状态
}
